package disjunction.examples.basics
{
	import disjunction.core.*;
	import disjunction.core.geom.Vector2;
	
	import flash.display.DisplayObjectContainer;
	
	[SWF(width="550", height="400", backgroundColor="#000000", frameRate="500")]
	
	/**
	 * States Example.
	 *
	 * @author Nick Wiggill
	 */
	
	public class BasicsDemo extends Game
	{
		public function BasicsDemo()
		{
			//Register at least one game state for execution.
			registerState( new GameState("Demo") );
			var data:Object = {viewContext: this, viewDimensions: new Vector2(550, 400)};
			initialise("Demo", new DemoController(), data);
		}
	}
}